# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-terminal
pkgver=1.1.1
pkgrel=0
pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
url="https://docs.xfce.org/apps/xfce4-terminal/start"
arch="all"
license="GPL-2.0-or-later"
depends="hicolor-icon-theme"
makedepends="
	exo-dev
	libxfce4ui-dev
	pcre2-dev
	vte3-dev
	"
replaces="terminal"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/apps/xfce4-terminal/${pkgver%.*}/xfce4-terminal-$pkgver.tar.bz2"

build() {
	LIBS="-lintl" \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
0f2631cc9790b467495cf17a506c33b9c6a037b94a353cb870554b1dd9da0b4795ed965ca2e9beb5dec1b344304e4dc9f71130862f6b45d63f66c603757991cd  xfce4-terminal-1.1.1.tar.bz2
"
